package cn.pconline.autoclub.entity;

import java.util.Date;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
import org.gelivable.dao.Label;

@Entity(tableName = "ac_dyna_index", logChange = true, split = "Mod:dynaInfoId:10")
@Label("动态索引")
public class DynaIndex {

	@Id
    @Label("动态id")
    @Column(name = "dyna_info_id")
	private long dynaInfoId;
	
	@Label("发表时间")
    @Column(name = "create_date")
    private Date createDate;
	
	@Label("状态 1:正常状态 -1:删除状态")
    @Column(name = "status")
    private int status;
	
	public static final int STATUS_NORMAL = DynaInfo.STATUS_NORMAL;
    public static final int STATUS_DELETE = DynaInfo.STATUS_DELETE;

	public long getDynaInfoId() {
    	return dynaInfoId;
    }

	public void setDynaInfoId( long dynaInfoId ) {
    	this.dynaInfoId = dynaInfoId;
    }

	public Date getCreateDate() {
    	return createDate;
    }

	public void setCreateDate( Date createDate ) {
    	this.createDate = createDate;
    }

	public int getStatus() {
    	return status;
    }

	public void setStatus( int status ) {
    	this.status = status;
    }
	
	
}
